package DAO;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConexaoDB {
	public Connection pegarConexao() throws SQLException{
		try{
		return DriverManager.getConnection("jdbc:postgresql://localhost:5432/DBLivrariaWEB", "postgres", "12345");
		}
		catch(SQLException e){
			throw new RuntimeException(e);
		}
	}
}
